package WebServiceModel;

import java.awt.*;

public class GamingStateModel {

    private int RoomID;
	private int DeskID;
	private int State;
	private Point Pos;
        private int Time;
	private static GamingStateModel state=new GamingStateModel();
	
	public static GamingStateModel getInstance(){
		
		return state;
	}
	
	public GamingStateModel(){
		
            RoomID=0;
		DeskID=0;
		State=0;
                Time=0;
		Pos=new Point();		
	}
	
	public void setDeskID(int room,int desk){
		
            RoomID=room;
		DeskID=desk;
		
	}
	
	public void setState(int state){
		
		State=state;
	}
	
	public void setPos(int x,int y){
		
		Pos.x=x;
		Pos.y=y;
		
	}
        
        public void setTime(int time){
        
            Time=time;
        }
        
        public int getRoomID(){
        
            return RoomID;
        }
	
	public int getDeskID(){
		
		return DeskID;
	}
	
	public int getState(){
		
		return State;
	}
	
	public Point getPos(){
		
		return Pos;
	}
        
        public int getTime(){
        
            return Time;
        }
	
}
